import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";

@Entity()
export class Room {
  @PrimaryGeneratedColumn()
  room_id: number;
  @Column({ type: "int" })
  create_id: number;
  @Column({ type: "varchar", length: 200 })
  room_info: string;
  @Column()
  room_password: string;
  @Column({ type: "varchar", length: 20 })
  room_title: string;
  @Column()
  room_pic: string;
}
